Given the following C++ fragment, in what order are the constructor functions called? class myclass: public A, public B, public C {...

      

Given the following C++ fragment, in what order are the constructor functions called?
class myclass: public A, public B, public C {...

  

Answers


Davis
Constructors are called in the order ABC, destructors in the order CBA.
Githiari answered the question on February 5, 2018 at 09:05


Next: Explain what protected means in programming world.
Previous: What function positions the get pointer and put program pointers?

View More Computer Studies Questions and Answers | Return to Questions Index


Exams With Marking Schemes

Related Questions